package org.jeecg.modules.dlxj.service;

import org.jeecg.modules.dlxj.entity.DlxjBugLevelCheck;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.dlxj.entity.DlxjDebugQuery;
import org.jeecg.modules.dlxj.mapper.DlxBugQueryMapper;
import org.jeecg.modules.dlxj.mapper.DlxjBugLevelCheckMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.beanvalidation.SpringValidatorAdapter;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 缺陷等级确认
 * @Author: lzl
 * @Date:   2022-07-28
 * @Version: V1.0
 */
public interface IDlxjBugLevelCheckService extends IService<DlxjBugLevelCheck> {

    /**
     * 缺陷等级确认列表
     * @return
     */
    public List<DlxjBugLevelCheck> bugLevelCheckList();

    /**
     * 缺陷等级确认，多条件查询
     * @param taskId
     * @param circuitryId
     * @param poleId
     * @param bugType
     * @param findUser
     * @return
     */
    public List<DlxjBugLevelCheck> queryByManyConditions(String taskId,String circuitryId,String poleId,String bugType,String findUser);

    /**
     * 缺陷等级确认，保存
     * @param poleId
     * @param level
     */
    public void bugLevelCheck(String poleId,Integer level);

    public void updateByPoleId(Integer level,String poleId);

    public List<DlxjBugLevelCheck> notShowData();



}
